import request from '@/utils/request'

const Api = {
  List: '/system/special/getSpecialList',
  Add: '/system/special/addSpecial',
  Delete: '/system/special/delSpecial',
  Upload: '/system/special/updateSpecial',
}

export function getSpecialList (parameter) {
  return request({
    url: Api.List,
    method: 'POST',
    data: parameter
  })
}
export function addSpecial (parameter) {
  return request({
    url: Api.Add,
    method: 'POST',
    data: parameter
  })
}
export function delSpecial (parameter) {
  return request({
    url: Api.Delete,
    method: 'POST',
    data: parameter
  })
}
export function updateSpecial (parameter) {
  return request({
    url: Api.Upload,
    method: 'POST',
    data: parameter
  })
}